<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>dp14txss: xdptxss_debug_example.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">dp14txss
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xdptxss__debug__example_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">xdptxss_debug_example.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains a design example using the <a class="el" href="struct_x_dp_tx_ss.html" title="The DisplayPort TX Subsystem driver instance data. ">XDpTxSs</a> driver in single stream (SST) transport or multi-stream transport (MST) mode and provides DisplayPort Subsystem debug information at runtime. </p>
<dl class="section note"><dt>Note</dt><dd>For this example to display output, the user need to implement initialization of the system (DpTxSs_PlatformInit) and after DisplayPort TX subsystem start (XDpTxSs_Start) is complete, implement configuration of the video stream source in order to provide the DisplayPort TX Subsystem HIP input. The functions DpTxSs_PlatformInit and DpTxSs_StreamSrc are declared and are left up to the user implement.</dd></dl>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver  Who Date     Changes
</p>
<hr/>
<p>
1.00 sha 07/01/15 Initial release.
2.00 sha 09/28/15 Added HDCP debug info function call.
4.1  ms  01/23/17 Modified xil_printf statement in main function to
                  ensure that "Successfully ran" and "Failed" strings
                  are available in all examples. This is a fix for
                  CR-965028.
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a2f0f6102e3569d780558919b555e169f"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#a2f0f6102e3569d780558919b555e169f">DpTxSs_DebugExample</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:a2f0f6102e3569d780558919b555e169f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the main entry point for the debug example using the <a class="el" href="struct_x_dp_tx_ss.html" title="The DisplayPort TX Subsystem driver instance data. ">XDpTxSs</a> driver.  <a href="#a2f0f6102e3569d780558919b555e169f">More...</a><br/></td></tr>
<tr class="separator:a2f0f6102e3569d780558919b555e169f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77566cbc37f750518218986d3d37c4f4"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#a77566cbc37f750518218986d3d37c4f4">DpTxSs_PlatformInit</a> (void)</td></tr>
<tr class="memdesc:a77566cbc37f750518218986d3d37c4f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initialize required platform-specifc peripherals.  <a href="#a77566cbc37f750518218986d3d37c4f4">More...</a><br/></td></tr>
<tr class="separator:a77566cbc37f750518218986d3d37c4f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44da0aaa5e8ac565866c10f164974558"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#a44da0aaa5e8ac565866c10f164974558">DpTxSs_StreamSrc</a> (u8 VerticalSplit)</td></tr>
<tr class="memdesc:a44da0aaa5e8ac565866c10f164974558"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function setup stream source to input DisplayPort TX Subsystem.  <a href="#a44da0aaa5e8ac565866c10f164974558">More...</a><br/></td></tr>
<tr class="separator:a44da0aaa5e8ac565866c10f164974558"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8adb803565fe556bb1bede03b006e922"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#a8adb803565fe556bb1bede03b006e922">DpTxSs_ReportEdidInfo</a> (<a class="el" href="struct_x_dp_tx_ss.html">XDpTxSs</a> *InstancePtr)</td></tr>
<tr class="memdesc:a8adb803565fe556bb1bede03b006e922"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prints EDID info of RX device.  <a href="#a8adb803565fe556bb1bede03b006e922">More...</a><br/></td></tr>
<tr class="separator:a8adb803565fe556bb1bede03b006e922"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac95876cb6f77f7caef756d035ec38053"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#ac95876cb6f77f7caef756d035ec38053">DpTxSs_EdidDecodeBase</a> (u8 *EdidRaw)</td></tr>
<tr class="memdesc:ac95876cb6f77f7caef756d035ec38053"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function decodes and prints EDID header and tag information.  <a href="#ac95876cb6f77f7caef756d035ec38053">More...</a><br/></td></tr>
<tr class="separator:ac95876cb6f77f7caef756d035ec38053"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a731b2b89f169e8d98e8d4094c9f1c986"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#a731b2b89f169e8d98e8d4094c9f1c986">DpTxSs_EdidBaseVPId</a> (u8 *EdidRaw)</td></tr>
<tr class="memdesc:a731b2b89f169e8d98e8d4094c9f1c986"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prints RX device identification data.  <a href="#a731b2b89f169e8d98e8d4094c9f1c986">More...</a><br/></td></tr>
<tr class="separator:a731b2b89f169e8d98e8d4094c9f1c986"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa87384769341317d0376e2d5c51f7bcf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#aa87384769341317d0376e2d5c51f7bcf">DpTxSs_EdidBaseVerRev</a> (u8 *EdidRaw)</td></tr>
<tr class="memdesc:aa87384769341317d0376e2d5c51f7bcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prints structure version and revision of RX EDID.  <a href="#aa87384769341317d0376e2d5c51f7bcf">More...</a><br/></td></tr>
<tr class="separator:aa87384769341317d0376e2d5c51f7bcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07955e33d29267ed4ca7caf0a57d1242"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#a07955e33d29267ed4ca7caf0a57d1242">DpTxSs_EdidBaseBasicDisp</a> (u8 *EdidRaw)</td></tr>
<tr class="memdesc:a07955e33d29267ed4ca7caf0a57d1242"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prints basic display information of RX device.  <a href="#a07955e33d29267ed4ca7caf0a57d1242">More...</a><br/></td></tr>
<tr class="separator:a07955e33d29267ed4ca7caf0a57d1242"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c289629b7c4cec9c59ec68955fed3d4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#a1c289629b7c4cec9c59ec68955fed3d4">DpTxSs_EdidColorChar</a> (u8 *EdidRaw)</td></tr>
<tr class="memdesc:a1c289629b7c4cec9c59ec68955fed3d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prints color characteristics of RX device.  <a href="#a1c289629b7c4cec9c59ec68955fed3d4">More...</a><br/></td></tr>
<tr class="separator:a1c289629b7c4cec9c59ec68955fed3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6188e6cc4f4f99ae149a225b2d436012"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#a6188e6cc4f4f99ae149a225b2d436012">DpTxSs_EdidEstTimings</a> (u8 *EdidRaw)</td></tr>
<tr class="memdesc:a6188e6cc4f4f99ae149a225b2d436012"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prints supported timings by the RX device.  <a href="#a6188e6cc4f4f99ae149a225b2d436012">More...</a><br/></td></tr>
<tr class="separator:a6188e6cc4f4f99ae149a225b2d436012"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5b19401c89846c20e06a8675dab2501"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#ae5b19401c89846c20e06a8675dab2501">DpTxSs_EdidStdTimings</a> (u8 *EdidRaw)</td></tr>
<tr class="memdesc:ae5b19401c89846c20e06a8675dab2501"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prints standard timings of RX device.  <a href="#ae5b19401c89846c20e06a8675dab2501">More...</a><br/></td></tr>
<tr class="separator:ae5b19401c89846c20e06a8675dab2501"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1010ce46205ce53ef226fabe781d11df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#a1010ce46205ce53ef226fabe781d11df">DpTxSs_EdidPtm</a> (u8 *EdidRaw)</td></tr>
<tr class="memdesc:a1010ce46205ce53ef226fabe781d11df"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prints preferred timing values of RX device.  <a href="#a1010ce46205ce53ef226fabe781d11df">More...</a><br/></td></tr>
<tr class="separator:a1010ce46205ce53ef226fabe781d11df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab80f3aab92d5797c76b2f56b2686006c"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#ab80f3aab92d5797c76b2f56b2686006c">DpTxSs_EdidCalculateChecksum</a> (u8 *Data, u8 Size)</td></tr>
<tr class="memdesc:ab80f3aab92d5797c76b2f56b2686006c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calculates the EDID checksum.  <a href="#ab80f3aab92d5797c76b2f56b2686006c">More...</a><br/></td></tr>
<tr class="separator:ab80f3aab92d5797c76b2f56b2686006c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad99c4af9b125f82935837c501c178069"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#ad99c4af9b125f82935837c501c178069">DpTxSs_PrintEdid</a> (u8 *EdidRaw)</td></tr>
<tr class="memdesc:ad99c4af9b125f82935837c501c178069"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prints 128 byte content from EDID.  <a href="#ad99c4af9b125f82935837c501c178069">More...</a><br/></td></tr>
<tr class="separator:ad99c4af9b125f82935837c501c178069"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the main function for <a class="el" href="struct_x_dp_tx_ss.html" title="The DisplayPort TX Subsystem driver instance data. ">XDpTxSs</a> SST/MST example.  <a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">More...</a><br/></td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a362bbd25e0f7e6fd42da96f398eac7ff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_dp_tx_ss.html">XDpTxSs</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdptxss__debug__example_8c.html#a362bbd25e0f7e6fd42da96f398eac7ff">DpTxSsInst</a></td></tr>
<tr class="separator:a362bbd25e0f7e6fd42da96f398eac7ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a2f0f6102e3569d780558919b555e169f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 DpTxSs_DebugExample </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is the main entry point for the debug example using the <a class="el" href="struct_x_dp_tx_ss.html" title="The DisplayPort TX Subsystem driver instance data. ">XDpTxSs</a> driver. </p>
<p>This function will print values set during DisplayPort TX Subsystem set up to work in MST/SST based upon RX device capabilities.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique device ID of the DisplayPort TX Subsystem core.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if DisplayPort TX Subsystem prints debug information successfully.</li>
<li>XST_FAILURE, otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_dp_tx_ss___config.html#aee6c9866e032c7e70e399bc0dac84aa6">XDpTxSs_Config::BaseAddress</a>, <a class="el" href="xdptxss__debug__example_8c.html#a77566cbc37f750518218986d3d37c4f4">DpTxSs_PlatformInit()</a>, <a class="el" href="xdptxss__debug__example_8c.html#a8adb803565fe556bb1bede03b006e922">DpTxSs_ReportEdidInfo()</a>, <a class="el" href="xdptxss__debug__example_8c.html#a44da0aaa5e8ac565866c10f164974558">DpTxSs_StreamSrc()</a>, <a class="el" href="struct_x_dp_tx_ss___usr_opt.html#a1a6410ddf9e096e4eacb26a5f6ad14fe">XDpTxSs_UsrOpt::MstSupport</a>, <a class="el" href="struct_x_dp_tx_ss.html#a1dccdffc912017829be08ef808b5923f">XDpTxSs::UsrOpt</a>, <a class="el" href="struct_x_dp_tx_ss___usr_opt.html#a5249de794b208455bdf650305ad95295">XDpTxSs_UsrOpt::VmId</a>, <a class="el" href="group__dptxss.html#gafb7b3b467a12177fb0c8053f4b7d70a1">XDpTxSs_CfgInitialize()</a>, <a class="el" href="group__dptxss.html#ga1a8026694798f9f8b6c8e43fcccd15ec">XDpTxSs_GetRxCapabilities()</a>, <a class="el" href="group__dptxss.html#ga00e2cce4e9b8511ed14e9f9a30790175">XDpTxSs_IsMstCapable()</a>, <a class="el" href="group__dptxss.html#ga08363492b9842c06051fc2d5e8809f86">XDpTxSs_LookupConfig()</a>, <a class="el" href="group__dptxss.html#gae497d800a09c0f6c8d443cd17e444f47">XDpTxSs_ReportCoreInfo()</a>, <a class="el" href="group__dptxss.html#ga16dceaad96698a67d6027d06f7563191">XDpTxSs_ReportHdcpInfo()</a>, <a class="el" href="group__dptxss.html#gae6b65b3bbfc9c6ed157e2bf3f7f936db">XDpTxSs_ReportLinkInfo()</a>, <a class="el" href="group__dptxss.html#gab2b141a2d345ff278a2ff908bdaa8699">XDpTxSs_ReportMsaInfo()</a>, <a class="el" href="group__dptxss.html#ga544f5ca44dedcc54623d5dc03ca0f90e">XDpTxSs_ReportSinkCapInfo()</a>, <a class="el" href="group__dptxss.html#gad7b13705876f3f5ce0c0d1f1d08fe7bc">XDpTxSs_ReportSplitterInfo()</a>, <a class="el" href="group__dptxss.html#ga5f08a664600d4530051557ba18c86f13">XDpTxSs_ReportVtcInfo()</a>, <a class="el" href="group__dptxss.html#ga8edde5017977263b22afd3abb4ad6a10">XDpTxSs_SetBpc()</a>, <a class="el" href="group__dptxss.html#ga47d0bbf83c92e4f29846002480bf57b0">XDpTxSs_SetLaneCount()</a>, <a class="el" href="group__dptxss.html#ga6525a2e8e00c2f836e500241e0d45a6f">XDpTxSs_SetLinkRate()</a>, <a class="el" href="group__dptxss.html#gaba3d0d5532d6ad4e89b9f58ae215a4d1">XDpTxSs_SetTransportMode()</a>, <a class="el" href="group__dptxss.html#gac94df5d299e1a088c159a2be61840680">XDpTxSs_SetVidMode()</a>, and <a class="el" href="group__dptxss.html#ga883ba3d77b48aaaee5858de1e5620c76">XDpTxSs_Start()</a>.</p>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a07955e33d29267ed4ca7caf0a57d1242"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DpTxSs_EdidBaseBasicDisp </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>EdidRaw</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function prints basic display information of RX device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">EdidRaw</td><td>is a pointer to u8 variable that will be used for parsing EDID blocks.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#ac95876cb6f77f7caef756d035ec38053">DpTxSs_EdidDecodeBase()</a>.</p>

</div>
</div>
<a class="anchor" id="aa87384769341317d0376e2d5c51f7bcf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DpTxSs_EdidBaseVerRev </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>EdidRaw</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function prints structure version and revision of RX EDID. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">EdidRaw</td><td>is a pointer to u8 variable that will be used for parsing EDID blocks.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#ac95876cb6f77f7caef756d035ec38053">DpTxSs_EdidDecodeBase()</a>.</p>

</div>
</div>
<a class="anchor" id="a731b2b89f169e8d98e8d4094c9f1c986"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DpTxSs_EdidBaseVPId </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>EdidRaw</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function prints RX device identification data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">EdidRaw</td><td>is a pointer to u8 variable that will be used for parsing EDID blocks.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#ac95876cb6f77f7caef756d035ec38053">DpTxSs_EdidDecodeBase()</a>.</p>

</div>
</div>
<a class="anchor" id="ab80f3aab92d5797c76b2f56b2686006c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 DpTxSs_EdidCalculateChecksum </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>Data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function calculates the EDID checksum. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Data</td><td>is a pointer to u8 variable that will be used to retrive data. </td></tr>
    <tr><td class="paramname">Size</td><td>specifies the number of bytes.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Calculated checksum.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#ac95876cb6f77f7caef756d035ec38053">DpTxSs_EdidDecodeBase()</a>.</p>

</div>
</div>
<a class="anchor" id="a1c289629b7c4cec9c59ec68955fed3d4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DpTxSs_EdidColorChar </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>EdidRaw</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function prints color characteristics of RX device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">EdidRaw</td><td>is a pointer to u8 variable that will be used for parsing EDID blocks.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#ac95876cb6f77f7caef756d035ec38053">DpTxSs_EdidDecodeBase()</a>.</p>

</div>
</div>
<a class="anchor" id="ac95876cb6f77f7caef756d035ec38053"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 DpTxSs_EdidDecodeBase </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>EdidRaw</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function decodes and prints EDID header and tag information. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">EdidRaw</td><td>is a pointer to u8 variable that will be used for parsing EDID blocks.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS, if EDID blocks parsed successfully.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xdptxss__debug__example_8c.html#a07955e33d29267ed4ca7caf0a57d1242">DpTxSs_EdidBaseBasicDisp()</a>, <a class="el" href="xdptxss__debug__example_8c.html#aa87384769341317d0376e2d5c51f7bcf">DpTxSs_EdidBaseVerRev()</a>, <a class="el" href="xdptxss__debug__example_8c.html#a731b2b89f169e8d98e8d4094c9f1c986">DpTxSs_EdidBaseVPId()</a>, <a class="el" href="xdptxss__debug__example_8c.html#ab80f3aab92d5797c76b2f56b2686006c">DpTxSs_EdidCalculateChecksum()</a>, <a class="el" href="xdptxss__debug__example_8c.html#a1c289629b7c4cec9c59ec68955fed3d4">DpTxSs_EdidColorChar()</a>, <a class="el" href="xdptxss__debug__example_8c.html#a6188e6cc4f4f99ae149a225b2d436012">DpTxSs_EdidEstTimings()</a>, <a class="el" href="xdptxss__debug__example_8c.html#a1010ce46205ce53ef226fabe781d11df">DpTxSs_EdidPtm()</a>, and <a class="el" href="xdptxss__debug__example_8c.html#ae5b19401c89846c20e06a8675dab2501">DpTxSs_EdidStdTimings()</a>.</p>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#a8adb803565fe556bb1bede03b006e922">DpTxSs_ReportEdidInfo()</a>.</p>

</div>
</div>
<a class="anchor" id="a6188e6cc4f4f99ae149a225b2d436012"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DpTxSs_EdidEstTimings </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>EdidRaw</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function prints supported timings by the RX device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">EdidRaw</td><td>is a pointer to u8 variable that will be used for parsing EDID blocks.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#ac95876cb6f77f7caef756d035ec38053">DpTxSs_EdidDecodeBase()</a>.</p>

</div>
</div>
<a class="anchor" id="a1010ce46205ce53ef226fabe781d11df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DpTxSs_EdidPtm </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>EdidRaw</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function prints preferred timing values of RX device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">EdidRaw</td><td>is a pointer to u8 variable that will be used for parsing EDID blocks.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#ac95876cb6f77f7caef756d035ec38053">DpTxSs_EdidDecodeBase()</a>.</p>

</div>
</div>
<a class="anchor" id="ae5b19401c89846c20e06a8675dab2501"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DpTxSs_EdidStdTimings </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>EdidRaw</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function prints standard timings of RX device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">EdidRaw</td><td>is a pointer to u8 variable that will be used for parsing EDID blocks.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#ac95876cb6f77f7caef756d035ec38053">DpTxSs_EdidDecodeBase()</a>.</p>

</div>
</div>
<a class="anchor" id="a77566cbc37f750518218986d3d37c4f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 DpTxSs_PlatformInit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function initialize required platform-specifc peripherals. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if required peripherals are initialized and configured successfully.</li>
<li>XST_FAILURE, otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#a2f0f6102e3569d780558919b555e169f">DpTxSs_DebugExample()</a>, <a class="el" href="xdptxss__hdcp__example_8c.html#a88743150e5b069be61f448bab57a51cd">DpTxSs_HdcpExample()</a>, <a class="el" href="xdptxss__intr__example_8c.html#a33cda38a440b9d58b40394074c0587ec">DpTxSs_IntrExample()</a>, and <a class="el" href="xdptxss__mst__example_8c.html#a522279e148197f834dbdd2eaaf8220e3">DpTxSs_MstExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ad99c4af9b125f82935837c501c178069"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DpTxSs_PrintEdid </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>EdidRaw</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function prints 128 byte content from EDID. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">EdidRaw</td><td>is a pointer to u8 variable that will be used for parsing EDID blocks.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#a8adb803565fe556bb1bede03b006e922">DpTxSs_ReportEdidInfo()</a>.</p>

</div>
</div>
<a class="anchor" id="a8adb803565fe556bb1bede03b006e922"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DpTxSs_ReportEdidInfo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_dp_tx_ss.html">XDpTxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function prints EDID info of RX device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_dp_tx_ss.html" title="The DisplayPort TX Subsystem driver instance data. ">XDpTxSs</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_dp_tx_ss.html#a5191770fa4cf23ff0d1ed4c9c367af94">XDpTxSs::DpPtr</a>, <a class="el" href="xdptxss__debug__example_8c.html#ac95876cb6f77f7caef756d035ec38053">DpTxSs_EdidDecodeBase()</a>, <a class="el" href="xdptxss__debug__example_8c.html#ad99c4af9b125f82935837c501c178069">DpTxSs_PrintEdid()</a>, <a class="el" href="struct_x_dp_tx_ss___usr_opt.html#a1a6410ddf9e096e4eacb26a5f6ad14fe">XDpTxSs_UsrOpt::MstSupport</a>, <a class="el" href="struct_x_dp_tx_ss.html#a1dccdffc912017829be08ef808b5923f">XDpTxSs::UsrOpt</a>, <a class="el" href="group__dptxss.html#ga67a126cda8e59ab3a9622bc2ba2e900d">XDpTxSs_GetEdid()</a>, <a class="el" href="group__dptxss.html#ga882a24d1900a5530bac270beca25d173">XDpTxSs_GetRemoteEdid()</a>, <a class="el" href="group__dptxss.html#gac2a666497cc955666ea6c660dd273f62">XDPTXSS_INTERRUPT_MASK</a>, <a class="el" href="group__dptxss.html#gae787a2608eff783b770b6c572ec9ba4e">XDPTXSS_INTERRUPT_MASK_HPD_EVENT_MASK</a>, <a class="el" href="group__dptxss.html#ga1f42e1c338b821077fae744620a663d2">XDPTXSS_INTERRUPT_MASK_HPD_PULSE_DETECTED_MASK</a>, <a class="el" href="group__dptxss.html#ga53f6015a16b096337cc3e1f18c2acf71">XDpTxSs_ReadReg</a>, and <a class="el" href="group__dptxss.html#gab83e25867875aa95d08d116a07f0807a">XDpTxSs_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#a2f0f6102e3569d780558919b555e169f">DpTxSs_DebugExample()</a>.</p>

</div>
</div>
<a class="anchor" id="a44da0aaa5e8ac565866c10f164974558"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 DpTxSs_StreamSrc </td>
          <td>(</td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>VerticalSplit</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function setup stream source to input DisplayPort TX Subsystem. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VerticalSplit</td><td>specifies whether to split video frame vertically into two different vertical halves.<ul>
<li>1 = Vertically split input frame</li>
<li>0 = No vertically split input frame.</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if stream source is configured successfully.</li>
<li>XST_FAILURE, otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xdptxss__debug__example_8c.html#a2f0f6102e3569d780558919b555e169f">DpTxSs_DebugExample()</a>, <a class="el" href="xdptxss__hdcp__example_8c.html#a88743150e5b069be61f448bab57a51cd">DpTxSs_HdcpExample()</a>, and <a class="el" href="xdptxss__mst__example_8c.html#a522279e148197f834dbdd2eaaf8220e3">DpTxSs_MstExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is the main function for <a class="el" href="struct_x_dp_tx_ss.html" title="The DisplayPort TX Subsystem driver instance data. ">XDpTxSs</a> SST/MST example. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the MST/SST example passed.</li>
<li>XST_FAILURE if the MST/SST example was unsuccessful.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xdptxss__debug__example_8c.html#a2f0f6102e3569d780558919b555e169f">DpTxSs_DebugExample()</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a362bbd25e0f7e6fd42da96f398eac7ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_dp_tx_ss.html">XDpTxSs</a> DpTxSsInst</td>
        </tr>
      </table>
</div><div class="memdoc">
<pre>
MODIFICATION HISTORY:</pre><pre>Ver  Who     Date      Changes
</p>
<hr/>
<p>
1.00 Nishant 19/12/20 Added support for vck190.Added ReadModifyWrite()
                                                for writing to vck190 register space.set_vphy() renamed
                                                to config_phy() and has two parameters for linerate and
                                                lanecount.</pre><pre></pre> 
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
